@import '../basic/globalVar.scss';
@import '../mixins/index.scss';
@import "../animations/base.scss";
@import "../animations/main.scss";

@include classNameConnect(backtop) {
  position: fixed;
  background-color: $--backtop-background-color;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: $--backtop-font-color;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 8px rgba(0,0,0, .2);
  cursor: pointer;
  z-index: 10;

  &:hover {
    background-color: $--backtop-hover-background-color;
  }
  @include animation-base(backtop, fade)
}